/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.chat-inline-anchor-widget {
	border: 1px solid var(--vscode-chat-requestBorder, var(--vscode-input-background, transparent));
	border-radius: 4px;
	margin: 0 1px;
	padding: 1px 3px;
	text-wrap: nowrap;
}

.interactive-item-container .value .rendered-markdown .chat-inline-anchor-widget {
	color: inherit;
}

.chat-inline-anchor-widget:hover {
	background-color: var(--vscode-list-hoverBackground);
}

.chat-inline-anchor-widget .icon {
	vertical-align: middle;
	line-height: 1em;
	font-size: 90%;
	overflow: hidden;
}

.show-file-icons.chat-inline-anchor-widget .icon::before {
	display: inline-block;
	line-height: 100%;
	overflow: hidden;

	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;

	margin-right: 3px;
	margin-bottom: 1px;

	flex-shrink: 0;
}

.chat-inline-anchor-widget .icon-label {
	text-wrap: wrap;
}
